🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / feature / messaging / src / androidMain / kotlin / org / meshtastic / feature / messaging / worker / WorkManagerMessageQueue.kt
Displaying Raw • Download
feature/messaging/src/androidMain/kotlin/org/meshtastic/feature/messaging/worker/WorkManagerMessageQueue.kt bd2863243bab6eb213401d949839a2bc74dde7e2 (bd286324) Text, 1.27 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.messaging.worker
Tff7b72import T7ee787org.koin.core.annotation.Single
Tff7b72import T7ee787org.meshtastic.core.repository.MeshWorkerManager
Tff7b72import T7ee787org.meshtastic.core.repository.MessageQueue
Tff7b72import T7ee787org.meshtastic.core.repository.PersistedPacketId
T8b949e/** Android implementation of [MessageQueue] that uses [WorkManager] for reliable background transmission. */
Tf0883e@Single
Tff7b72class T56d364WorkManagerMessageQueueTb4b4b4(Tff7b72private Tff7b72val Te6edf3workerManagerTb4b4b4: Te6edf3MeshWorkerManagerTb4b4b4) Tb4b4b4: Te6edf3MessageQueue Tb4b4b4{
Tff7b72override Tff7b72suspend Tff7b72fun Td2a8ffenqueueTb4b4b4(Te6edf3persistedIdTb4b4b4: Te6edf3PersistedPacketIdTb4b4b4) Tff7b72= Te6edf3workerManagerTb4b4b4.Te6edf3enqueueSendMessageTb4b4b4(Te6edf3persistedIdTb4b4b4)
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.05s